import 'package:json_annotation/json_annotation.dart';

///字符分割后的bean
part 'CharBean.g.dart';

@JsonSerializable()
class CharBean {
  //文字内容
  String content = "";

  //颜色
  int color = 0;


  CharBean();


  factory CharBean.fromJson(Map<String, dynamic> json) =>
      _$CharBeanFromJson(json);

  Map<String, dynamic> toJson() => _$CharBeanToJson(this);
}
